package com.ktjy.ktmall.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ktjy.ktmall.domain.dto.CartDTO;
import com.ktjy.ktmall.mapper.CartMapper;
import com.ktjy.ktmall.service.CartService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CartServiceImpl  extends ServiceImpl<CartMapper, CartDTO> implements CartService {

    @Autowired
    private CartMapper cartMapper;
    @Override
    public List<CartDTO> selectCartList(CartDTO cartDTO) {
        return cartMapper.selectCartList(cartDTO);
    }
}
